/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package net.flowas.os.domain;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;

/**
 *
 * @author Administrator
 */
@Entity
public class ScoreAdjustment implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;
    @ManyToOne
    private AssessItem assessItem;
    private String remark;
    private Double minus;

    /**
     * @return the assessItem
     */
    public AssessItem getAssessItem() {
        return assessItem;
    }

    /**
     * @param assessItem the assessItem to set
     */
    public void setAssessItem(AssessItem assessItem) {
        this.assessItem = assessItem;
    }

    /**
     * @return the remark
     */
    public String getRemark() {
        return remark;
    }

    /**
     * @param remark the remark to set
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * @return the minus
     */
    public Double getMinus() {
        return minus;
    }

    /**
     * @param minus the minus to set
     */
    public void setMinus(Double minus) {
        this.minus = minus;
    }

    /**
     * @return the id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(Long id) {
        this.id = id;
    }
}
